<template>
    <div class="left">
    <div style="flex: 1;background-color: blue">
      <el-image style="width: 100% ;height: 100% " fit="cover"
                src="src/assets/leaf.jpg" />
    </div>
    <div class="right">
      <div style="font-size: 30px;color: black;font-weight: bold;margin-top: 50px"  >健康打卡管理系统</div>

      <div class="welcome-title" >

        <div style="font-weight: bold;font-size: 30px">健康打卡管理系统</div>
<!--        <div style="margin-top: 10px">每日卡路里、食物库管理、运动管理、每日打卡，汇总统计</div>-->
        <div style="margin-top: 10px">物联网202班程序设计作品</div>
        <div></div>
      </div>
      <div style="z-index: 1">
        <router-view v-slot="{ Component }">
            <component :is="Component" />
        </router-view>
      </div>

    </div>
  </div>
</template>
<script  >
export default {
  name: "WelCome"
}
</script>
<style scoped>
.left{
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  display: flex
}
.right{
  width: 400px;
  text-align: center;
  background-color: white;
  margin: 0 10px;
}
.welcome-title{
   position:absolute;
   bottom: 30px;
   left: 30px;
   color: white;
  text-shadow: 0 0 10px black;
  text-align: left;
 }

</style>